const state = {
  version: '0.1',
  scale: 1
}
const mutations = {
  SET_VERSION: (state, version) => {
    state.version = version
  },
  SET_SCALE: (state, scale) => {
    state.scale = scale
  }
}
const actions = {
  setVersion ({ commit }, version) {
    commit('SET_VERSION', version)
  }
}
export default {
  namespaced: true,
  state,
  mutations,
  actions
}
